<template>
  <div id="wrap">
    <h1>路由组件传参子组件1</h1>
    <p>{{ props.id }}</p>
  </div>
</template>

<script lang="ts">
export default {
  name: 'StuDemo60Son01',
};
</script>

<script lang="ts" setup>
const props = defineProps({
  id:Number
})
</script>

<style lang="scss"></style>
